Mantel coefficient between two sets of variables.
mantel(y, x)
The Mantel coefficient.
A numerical matrix.
A numerical matrix.
Michail Tsagris
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
The Mantel coefficient is simply the Pearson correlation coefficient computed on the off-diagonal elements of the distance matrix of each each matrix (or set of variables).
Abdi H. (2010). Congruence: Congruence coefficient, RV coefficient, and Mantel coefficient. Encyclopedia of Research Design, 3, 222--229.
rv, dcor
mantel( as.matrix(iris[, 1:2]), as.matrix(iris[, 3:4]) )
Run the code above in your browser using DataLab